[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
@DATA            .DATA Segment Name                      Predefined EQU

  @DATA

     This predefined equate returns the name of the current data segment or
     group as defined with the .DATA directive. Because the name of the data
     segment can change with memory model, this predefined equate can be very
     useful.

     You use @DATA like this: ASSUME DS:@DATA.

     @DATA represents the group name shared by all near data segments,
     including the segments created by the .DATA, .DATA?, .CONST and .STACK
     directives.

       Notes:         The @DATA predefined equate is also useful to
                      generate segment overrides. To use simplified segment
                      directives like .DATA, you must have specified a
                      memory model with the .MODEL directive.

See Also: @CODE @FARDATA
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson